.class public abstract Lcom/estrongs/fs/n;
.super Lcom/estrongs/fs/a;
.source "LocalDataFileObject.java"


# instance fields
.field private p:Lcom/estrongs/fs/g;


# direct methods
.method public constructor <init>(Lcom/estrongs/fs/g;)V
    .locals 1

    .line 1
    invoke-direct {p0}, Lcom/estrongs/fs/a;-><init>()V

    const/4 v0, 0x0

    .line 2
    iput-object v0, p0, Lcom/estrongs/fs/n;->p:Lcom/estrongs/fs/g;

    .line 3
    invoke-interface {p1}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/fs/a;->c:Ljava/lang/String;

    .line 4
    iput-object p1, p0, Lcom/estrongs/fs/n;->p:Lcom/estrongs/fs/g;

    .line 5
    invoke-interface {p1}, Lcom/estrongs/fs/g;->getName()Ljava/lang/String;

    move-result-object p1

    iput-object p1, p0, Lcom/estrongs/fs/a;->d:Ljava/lang/String;

    return-void
.end method

.method public constructor <init>(Ljava/io/File;)V
    .locals 1

    .line 6
    new-instance v0, Lcom/estrongs/fs/impl/local/d;

    invoke-direct {v0, p1}, Lcom/estrongs/fs/impl/local/d;-><init>(Ljava/io/File;)V

    invoke-direct {p0, v0}, Lcom/estrongs/fs/n;-><init>(Lcom/estrongs/fs/g;)V

    return-void
.end method


# virtual methods
.method public g()Z
    .locals 1
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/estrongs/fs/FileSystemException;
        }
    .end annotation

    .line 1
    iget-object v0, p0, Lcom/estrongs/fs/n;->p:Lcom/estrongs/fs/g;

    invoke-interface {v0}, Lcom/estrongs/fs/g;->g()Z

    move-result v0

    return v0
.end method

.method public getPath()Ljava/lang/String;
    .locals 4

    .line 1
    iget-object v0, p0, Lcom/estrongs/fs/a;->b:Ljava/lang/String;

    if-nez v0, :cond_0

    .line 2
    iget-object v0, p0, Lcom/estrongs/fs/n;->p:Lcom/estrongs/fs/g;

    invoke-interface {v0}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/estrongs/fs/n;->p:Lcom/estrongs/fs/g;

    invoke-interface {v0}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-lez v0, :cond_0

    .line 3
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p0}, Lcom/estrongs/fs/n;->n()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v1, p0, Lcom/estrongs/fs/n;->p:Lcom/estrongs/fs/g;

    invoke-interface {v1}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x1

    iget-object v3, p0, Lcom/estrongs/fs/n;->p:Lcom/estrongs/fs/g;

    invoke-interface {v3}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/String;->length()I

    move-result v3

    invoke-virtual {v1, v2, v3}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/fs/a;->b:Ljava/lang/String;

    .line 4
    :cond_0
    invoke-super {p0}, Lcom/estrongs/fs/a;->getPath()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public lastModified()J
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/estrongs/fs/n;->p:Lcom/estrongs/fs/g;

    invoke-interface {v0}, Lcom/estrongs/fs/g;->lastModified()J

    move-result-wide v0

    return-wide v0
.end method

.method public length()J
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/estrongs/fs/n;->p:Lcom/estrongs/fs/g;

    invoke-interface {v0}, Lcom/estrongs/fs/g;->length()J

    move-result-wide v0

    return-wide v0
.end method

.method protected m()Lcom/estrongs/fs/l;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/fs/n;->p:Lcom/estrongs/fs/g;

    invoke-interface {v0}, Lcom/estrongs/fs/g;->i()Lcom/estrongs/fs/l;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/fs/l;->b()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 2
    sget-object v0, Lcom/estrongs/fs/l;->c:Lcom/estrongs/fs/l;

    return-object v0

    .line 3
    :cond_0
    sget-object v0, Lcom/estrongs/fs/l;->d:Lcom/estrongs/fs/l;

    return-object v0
.end method

.method protected abstract n()Ljava/lang/String;
.end method

.method public setName(Ljava/lang/String;)V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/fs/a;->b:Ljava/lang/String;

    if-nez v0, :cond_0

    .line 2
    invoke-virtual {p0}, Lcom/estrongs/fs/n;->getPath()Ljava/lang/String;

    .line 3
    :cond_0
    invoke-super {p0, p1}, Lcom/estrongs/fs/a;->setName(Ljava/lang/String;)V

    return-void
.end method
